package com.ruoyi.web.TemuProductTraffic.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * TemuProductTraffic对象 temu_product_traffic
 * 
 * @author ruoyi
 * @date 2025-08-07
 */
@Data
public class TemuProductTraffic
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    public Integer id;

    /** spu_id */
    @Excel(name = "spu_id")
    public String spuId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    public String productName;

    /** 商品图片 */
    @Excel(name = "商品图片")
    public String imgUrl;

    /** 支付件数 */
    @Excel(name = "支付件数")
    public Integer confirmGoodsQuantity;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    public Date day;

    /** 销量 */
    @Excel(name = "销量")
    public Integer quantity;

    /** 入库日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入库日期", width = 30, dateFormat = "yyyy-MM-dd")
    public Date date;

    public TemuProductTraffic() {
    }

    public TemuProductTraffic(Integer id, String spuId, String productName, String imgUrl, Integer confirmGoodsQuantity, Date day, Integer quantity, Date date) {
        this.id = id;
        this.spuId = spuId;
        this.productName = productName;
        this.imgUrl = imgUrl;
        this.confirmGoodsQuantity = confirmGoodsQuantity;
        this.day = day;
        this.quantity = quantity;
        this.date = date;
    }
}
